<?php
/**
 * Created by PhpStorm.
 * User: Short Perton
 * Date: 2016/8/30
 * Time: 14:46
 */

$loader = new Phalcon\Loader();
$loader->registerNamespaces([
    'sw\server' => 'server',
    'sw\utils' => 'utils',
    'sw\model' => '../models',
])->register();


$server = new \sw\server\ChatServer();